package edu.hbsi.demo2;
abstract class Book {
    protected String name;
    protected String brief;
    protected int wordNumber;

    public Book(String name, String brief, int wordNumber) {
        this.name = name;
        this.brief = brief;
        this.wordNumber = wordNumber;
    }

    // 抽象方法
    abstract void printBrief();
}
